package com.jml.config;

import javax.jms.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.jms.annotation.EnableJms;
import org.apache.activemq.command.ActiveMQQueue;

@Configuration
@EnableJms
public class ActivieMqConfig {
	@Bean
	public Queue queue(){
		return  new ActiveMQQueue("account.msg.queue");
	}
}
